package com.example.demo.mapper;


import com.example.demo.domain.Orderform;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderformMapper {
    //查询所有预定信息
    @Select("select * from orderform")
    List<Orderform> findAllOrderform();

    //删除预定信息
    @Delete("delete from orderform where id=#{id}")
    int deleteOrderform(Integer id);
}
